<?php

return [
    'upload' => [
        "driver" => "local",
        "config" => [
            "compress"       => false,
            "compress_ratio" => "90",
            "crop"           => false,
            "crop_w"         => "200",
            "crop_h"         => "200",
            "watermark"      => false,
            "watermark_pic"  => "",
            "gravity"        => "bottom-right"
        ],
        "qiniu"  => [
            "default"    => "",
            "https"      => "",
            "access_key" => "",
            "secret_key" => "",
            "bucket"     => ""
        ],
        "oss"    => [
            "endpoint"   => "",
            "access_id"  => "",
            "access_key" => "",
            "role_arn"   => "",
            "bucket"     => "",
            "ssl"        => false
        ],
        "cos"    => [
            "app_id"     => "",
            "secret_id"  => "",
            "secret_key" => "",
            "bucket"     => "",
            "region"     => "",
            "cos_url"    => "",
            "ssl"        => false
        ]
    ]
];